package com.block.db.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 产品信息（下游/甲方）
 * </p>
 *
 * @author 
 * @since 2022-07-29
 */
@Getter
@Setter
@TableName("ml_product_info")
public class ProductInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * logo地址
     */
    private String logoUrl;

    /**
     * 产品描述
     */
    private String descInfo;

    /**
     * 产品类型(1 免费产品)(2 收费产品)
     */
    private Integer type;

    /**
     * 产品详情地址
     */
    private String detailUrl;

  /**
   * 联登产品 登陆成功之后，展示的时长（小时）
   */
    private Long unionShowHours;

    /**
     * 排序权重
     */
    private Integer sortWeight;

    /**
     * 申请人数
     */
    private Integer applyNumber;

    /**
     * 产品标签
     */
    private String productLabel;

    /**
     * 最大贷款额度
     */
    private String maxLoanAmount;

    /**
     * 最小贷款额度
     */
    private String minLoanAmount;

    /**
     * 贷款利率
     */
    private String interestRate;

    private String maxLoanPeriod;

    private String minLoanPeriod;

    /**
     * 收益价格
     */
    private BigDecimal priceAmount;

    private Integer priceType;

    /**
     * 工厂类型
     * 联登产品必填
     */
    private String factoryType;

    private String channelMatchUrl;

    private String channelRegisterUrl;

    private String channelCode;

    private String channelKey;

    private String channelSecret;

    private String pubKey;

    private String priKey;

    private Long userId;
    private String userName;
    private String userPwd;

}
